<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta
      name="viewport"
      content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"
    />

    <title>侧边展开导航栏</title>
    <!-- 引入字体图标 -->
    <link rel="stylesheet" href="../../libs/font-awesome.min.css">
    <link rel="stylesheet" href="index.css" />

    <link rel="icon" type="image/x-icon" href="../../../favicon.ico" />
</head>

  <body>
    <div class="navbar">
      <input type="checkbox" id="checkbox" />
      <label for="checkbox">
        <i class="fa fa-bars" aria-hidden="true"></i>
      </label>
      <ul>
        <li>
          <img src="./admin.jpg" alt="" />
          <span>欢迎您！管理员</span>
        </li>
        <li>
          <a href="javascript:void(0)">
            <i class="fa fa-home" aria-hidden="true"></i>
            <span>后台首页</span>
          </a>
        </li>
        <li>
          <a href="javascript:void(0)">
            <i class="fa fa-sitemap" aria-hidden="true"></i>
            <span>商品列表</span>
          </a>
        </li>
        <li>
          <a href="javascript:void(0)">
            <i class="fa fa-user-circle-o" aria-hidden="true"></i>
            <span>用户列表</span>
          </a>
        </li>
        <li>
          <a href="javascript:void(0)">
            <i class="fa fa-shopping-bag" aria-hidden="true"></i>
            <span>订单列表</span>
          </a>
        </li>
        <li>
          <a href="javascript:void(0)">
            <i class="fa fa-th-large" aria-hidden="true"></i>
            <span>功能列表</span>
          </a>
        </li>
      </ul>
      <div class="main">我是内容区</div>
    </div>
  </body>
</html>
